package com.yimu.system.domain;

import java.util.List;
import java.util.Date;
import com.yimu.common.annotation.Excel;
import com.yimu.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 设备信号强度日志对象 signal_strength_log
 * 
 * @author Christine
 * @date 2020-08-26
 */
public class SignalStrengthLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @Excel(name = "主键id")
    private Long Id;

    /** 设备号 */
    @Excel(name = "设备号")
    private String DeviceNum;

    /** 信号强度,范围：0-31,低于13时不建议出货 */
    @Excel(name = "信号强度,范围：0-31,低于13时不建议出货")
    private Integer SignalStrength;

    /** 添加时间 */
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date AddDatetime;

    /** 终端列表信息 */
    private List<Devices> devicesList;

    public void setId(Long Id) 
    {
        this.Id = Id;
    }

    public Long getId() 
    {
        return Id;
    }
    public void setDeviceNum(String DeviceNum) 
    {
        this.DeviceNum = DeviceNum;
    }

    public String getDeviceNum() 
    {
        return DeviceNum;
    }
    public void setSignalStrength(Integer SignalStrength) 
    {
        this.SignalStrength = SignalStrength;
    }

    public Integer getSignalStrength() 
    {
        return SignalStrength;
    }
    public void setAddDatetime(Date AddDatetime) 
    {
        this.AddDatetime = AddDatetime;
    }

    public Date getAddDatetime() 
    {
        return AddDatetime;
    }

    public List<Devices> getDevicesList()
    {
        return devicesList;
    }

    public void setDevicesList(List<Devices> devicesList)
    {
        this.devicesList = devicesList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("Id", getId())
            .append("DeviceNum", getDeviceNum())
            .append("SignalStrength", getSignalStrength())
            .append("AddDatetime", getAddDatetime())
            .append("devicesList", getDevicesList())
            .toString();
    }
}
